package com.talkingdata.hadoop.guard.mapper;

import com.talkingdata.hadoop.guard.bean.AppFinishOffset;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AppFinishOffsetMapper {
    @Insert("insert into appfinish_offset " +
            "(cluster_id,application_id,finish_time," +
            "timestamp) values (#{clusterId}," +
            "#{applicationId},#{finishTime},#{timestamp})")
    int insertAppFinishOffset (AppFinishOffset appFinishOffset);

}
